home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr47 / ptime_10.zip / PHILTIME.I < prev   
Text File  |  1993-04-06  |  2KB  |  64 lines

  1. ;Boolean expressions:
  2. true            equ     1
  3. false           equ     0
  4.  
  5. ;Special characters for strings (Bell, Carriage Return, Line Feed, and End of
  6. ;String):
  7. bell        equ    7
  8. cr        equ    13
  9. lf        equ    10
  10. eos        equ    '$'
  11.  
  12. ;The following colors can be used as forground or background colors:
  13. enum        colors    black=0,blue,green,cyan,red,magenta,brown,lightGrey
  14.  
  15. ;The following colors can be used only as forground colors:
  16. enum        moreColors    grey=8,lightBlue,lightGreen,lightCyan, {
  17.                 lightRed,lightMagenta,yello,white}
  18.  
  19.  
  20.  
  21.  
  22.  
  23. ;Simple change you can make to PhilTime.EXE:
  24.  
  25. ;These set the attributes of the clock:
  26. forgroundColor  equ     white
  27. backgroundColor equ     black
  28. blinking        equ     false
  29.  
  30. ;This program is safer with watchScrollLock==true.  This program is smaller
  31. ;with watchScrollLock==false.
  32. watchScrollLock    equ    true
  33.  
  34. ;This program is safer with watchVideoMode==true.  This program is smaller
  35. ;with watchVideoMode==false.
  36. watchVideoMode  equ     true
  37.  
  38. ;redrawTime specifies how often the clock is redrawn, measured in clock ticks.
  39. ;1092 clock ticks make approximately 1 minute.
  40. redrawTime      equ     109
  41.  
  42. ;firstRedraw specifies how long to wait before the first time the clock is
  43. ;drawn.  If the clock is drawn immediatly, it will usually scroll off before
  44. ;you can see it.  firstRedraw is measured in clock ticks.
  45. firstRedraw    equ    9
  46.  
  47. ;The clock takes more memory when twelveHourTime is true.
  48. twelveHourTime    equ    true
  49.  
  50. ;The clock takes more memory when leadingZero if false.
  51. leadingZero    equ    false
  52.  
  53. ;This "string" is printed each time the program starts.
  54. ;Please leave my name in, AND add your own.
  55. macro           bannerString
  56. banner        db    'Phil Time',cr,lf
  57.         db    'Version 1.0',cr,lf
  58.         db    'By Philip Smolen',cr,lf,lf
  59. if        watchScrollLock
  60.         db    'Use the Scroll Lock button to turn the clock on and off.',cr,lf,lf
  61. endif
  62.         db    eos
  63. endm        bannerString
  64.